﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallERP.MODEL.FoundationModel;
using SmallERP.COM;
namespace SmallERP.MODEL.PrintManage
{
    public class BoardDetailInfo:Photo_Info
    {
        public string ProductName { get; set; }
        public string StatusName
        {
            get
            {
                switch (base.Status)
                {
                    case (int)SmallERP.COM.Status.PhotoStatus.InGrid:
                       return "在格子中";

                    case (int)SmallERP.COM.Status.PhotoStatus.Printed:
                        return "打印完成";
                        
                    case (int)SmallERP.COM.Status.PhotoStatus.Producted:
                       return  "生成大图完成";

                    case (int)SmallERP.COM.Status.PhotoStatus.WaitMove:
                       return "等待移动照片";
                      
                    case (int)SmallERP.COM.Status.PhotoStatus.WaitPB:
                        return "等待拼板";
                      
                    case (int)SmallERP.COM.Status.PhotoStatus.WaitProductBigPic:
                        return "等待生成大图";
                      
                    default:
                        return string.Empty;
                       
                }
            }
        }
        public string SizeInch { get { return base.Width + "x" + base.Height; } }
        public string SizeCm { get { return (base.Width * 2.54).ToString("0.00") + "x" + (base.Height * 2.54).ToString("0.00"); } }

    }
}
